package com.huawei.appmarket.service.store.OffShelfReason.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appmarket.service.store.OffShelfReason.card.OffShelfAppCard;
import o.cdr;
import o.cih;
import o.ewm.h;

public class OffShelfAppNode extends cdr {
    public OffShelfAppNode(Context context) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View inflate = LayoutInflater.from(this.ॱ).inflate(h.ʹॱ, null);
        cih offShelfAppCard = new OffShelfAppCard(this.ॱ);
        offShelfAppCard.ˏ(inflate);
        ˊ(offShelfAppCard);
        inflate.setLayoutParams(new LayoutParams(-1, -2));
        viewGroup.addView(inflate);
        return true;
    }
}
